#include <stdio.h>

int main()
{
	char ch;
	scanf("%c", &ch);
	for (int i = 0; i < 6; i++)
	{
		int j = 0;
		for (j = 0; j <= i; j++)
		{
			printf("%c", ch + j );
		}
		
		printf("\n");
		ch = ch + j;
		
	}



	return 0;
}